package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 上传运管平台记录对象 t_upload_platform_record
 * 
 * @author wp
 * @date 2023-08-10
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
@TableName(value = "t_upload_platform_record", excludeProperty = {"createTime", "createBy","updateTime","updateBy", "remark"})
public class UploadPlatformRecord extends BaseEntity {

    /** id */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /** 设备编号 */
    @Excel(name = "设备号")
    private String deviceId;

    /** 上传的平台 */
    @Excel(name = "上传的平台")
    private String uploadPlatform;

    /** 上传时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "上传时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date uploadTime;

    /** 上传的数据 */
    @Excel(name = "上传的数据")
    private String uploadData;
}
